
<%@ page import="hc.uco.Riscos" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'riscos.label', default: 'Riscos')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.ahaPontos.label" default="Aha Pontos" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "ahaPontos")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.aha30dias.label" default="Aha30dias" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "aha30dias")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.aha6meses.label" default="Aha6meses" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "aha6meses")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.gracePontos.label" default="Grace Pontos" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "gracePontos")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.grace30dias.label" default="Grace30dias" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "grace30dias")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.grace6meses.label" default="Grace6meses" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "grace6meses")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.timiPontos.label" default="Timi Pontos" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "timiPontos")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.timi30dias.label" default="Timi30dias" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "timi30dias")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.timi6meses.label" default="Timi6meses" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "timi6meses")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.crusadePerc.label" default="Crusade Perc" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "crusadePerc")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.jaccPerc.label" default="Jacc Perc" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "jaccPerc")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.avch.label" default="Avch" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${riscosInstance?.avch}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.ch.label" default="Ch" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "ch")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.crusadePontos.label" default="Crusade Pontos" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "crusadePontos")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia1.label" default="Hb Dia1" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia1")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia10.label" default="Hb Dia10" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia10")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia2.label" default="Hb Dia2" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia2")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia3.label" default="Hb Dia3" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia3")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia4.label" default="Hb Dia4" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia4")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia5.label" default="Hb Dia5" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia5")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia6.label" default="Hb Dia6" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia6")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia7.label" default="Hb Dia7" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia7")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia8.label" default="Hb Dia8" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia8")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.hbDia9.label" default="Hb Dia9" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "hbDia9")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.jaccPontos.label" default="Jacc Pontos" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "jaccPontos")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.paciente.label" default="Paciente" /></td>
                            
                            <td valign="top" class="value"><g:link controller="paciente" action="show" id="${riscosInstance?.paciente?.id}">${riscosInstance?.paciente?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.sangraDelta.label" default="Sangra Delta" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: riscosInstance, field: "sangraDelta")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.sangramento.label" default="Sangramento" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${riscosInstance?.sangramento}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="riscos.transfusao.label" default="Transfusao" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${riscosInstance?.transfusao}" /></td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${riscosInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
